def test_func(compute):
    print(F'compute的类型👉{type(compute)}')
    ret = compute(100, 50)
    print(F'计算结果👉{ret}')


test_func(lambda n1, n2: n1 + n2)
test_func(lambda n1, n2: n1 - n2)
